export default [
    {
        path:'product/index',
        name:'productIndex',
        component:() => import('@/components/product/index.vue')
    },
    {
        path:'product/info',
        name:'productInfo',
        component:() => import('@/components/product/info.vue')
    },
    {
        path:'cart/index',
        name:'cartIndex',
        component:() => import('@/components/product/cart.vue'),
        meta:{
            // 校验用户登陆
            auth: true
        }
    },
    {
        path:'cart/confirm',
        name:'cartConfirm',
        component:() => import('@/components/product/confirm.vue'),
        meta:{
            // 校验用户登陆
            auth: true
        }
    },
    {
        path:'product/type',
        name:'productType',
        component:() => import('@/components/product/type.vue')
    }
]